{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "f081480b-1e17-4912-bc6f-2d676d322f2c",
   "metadata": {},
   "outputs": [],
   "source": [
    "from turtle import *"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "69ff10b2-d136-45fa-877a-0fcae212d023",
   "metadata": {},
   "outputs": [],
   "source": [
    "color(\"black\",\"red\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "e98ec230-59c3-45c2-9fa5-e483bb48002c",
   "metadata": {},
   "outputs": [],
   "source": [
    "up()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "656daa29-6ae9-44b6-ad97-fa5ed90cbc3d",
   "metadata": {},
   "outputs": [],
   "source": [
    "setx(-200)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "734ec3fa-e808-4c1d-8694-0ab0dc2201a3",
   "metadata": {},
   "outputs": [],
   "source": [
    "sety(100)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "d9e427c7-dafc-47c2-bb1d-d05e314fc61e",
   "metadata": {},
   "outputs": [],
   "source": [
    "down()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "3471a18e-064f-4d9c-8dcc-9ebd42d4d93e",
   "metadata": {},
   "outputs": [],
   "source": [
    "begin_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "b1e83eac-1aae-4a18-afbf-3a9dd89bdc98",
   "metadata": {},
   "outputs": [],
   "source": [
    "setx(200)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "e19d8040-5e6f-4a04-9663-a435dfdb5447",
   "metadata": {},
   "outputs": [],
   "source": [
    "sety(-100)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "ba02286c-3a93-43af-b223-70b6b7a39be1",
   "metadata": {},
   "outputs": [],
   "source": [
    "setx(-200)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "540326fd-fd80-4931-a2bd-79b26a3024a6",
   "metadata": {},
   "outputs": [],
   "source": [
    "sety(100)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "id": "e8c09ceb-b11c-4789-a120-bdf6f9219e67",
   "metadata": {},
   "outputs": [],
   "source": [
    "end_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "id": "fb1c3fff-205d-4961-ad23-1f036211eac0",
   "metadata": {},
   "outputs": [],
   "source": [
    "color(\"yellow\",\"yellow\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "id": "90af513d-26f3-4df9-85ef-28afd614c2f7",
   "metadata": {},
   "outputs": [],
   "source": [
    "up()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "id": "df1f23e3-9dfa-4eee-8ead-da01b4d68311",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(25)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "id": "df556c94-d8fd-433b-acca-6081b3e4523b",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(50)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "id": "0e24c532-e192-4bf3-bd28-aba6130863a9",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(83)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "id": "8fce48dc-2505-46c0-9840-88c87d9ba917",
   "metadata": {},
   "outputs": [],
   "source": [
    "down()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "id": "5e87630c-1e68-4760-afef-afc358aca6d0",
   "metadata": {},
   "outputs": [],
   "source": [
    "begin_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "id": "1b490d24-02e4-4e79-a513-320d0e7e2900",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(50)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "id": "3978f266-9c06-483f-b3c7-0458583921ad",
   "metadata": {},
   "outputs": [],
   "source": [
    "lt(144)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "id": "21834a3d-a57d-4464-b786-cf9ae405e2b9",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(50)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "id": "158a9873-2418-4bda-b67b-10856b6bbd96",
   "metadata": {},
   "outputs": [],
   "source": [
    "lt(144)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "id": "6d749ce0-6b13-4044-a57c-bd7688b72983",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(50)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "id": "4f8942ce-84fa-49ff-aaaa-457f769db7db",
   "metadata": {},
   "outputs": [],
   "source": [
    "lt(144)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "id": "307210c5-405e-4a2d-84ef-4c38834881b9",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(50)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "id": "a1e56574-1ec7-4857-b0cb-cd23c928ef2d",
   "metadata": {},
   "outputs": [],
   "source": [
    "lt(144)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "id": "5b05d774-f50e-45d1-b149-f50bedf72ee9",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(50)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "id": "e041eff3-a911-4adc-9fd4-80293fe954f8",
   "metadata": {},
   "outputs": [],
   "source": [
    "end_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "id": "782590f7-76d0-4ed2-b726-daa7bafeea8a",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(108)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "id": "52908d07-44e5-4f7e-8732-6db6e3ce5b06",
   "metadata": {},
   "outputs": [],
   "source": [
    "up()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "id": "99f67e59-d5d0-4b13-9ffd-5c04e0a138bf",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(60)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "id": "5ca8fc76-a92b-403c-8b91-5e5fe2080d41",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(74)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "id": "6a688df5-889f-4f01-a23f-26cd792d51f4",
   "metadata": {},
   "outputs": [],
   "source": [
    "down()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "id": "b21ad254-bd11-448c-ab4c-e0a1e3919763",
   "metadata": {},
   "outputs": [],
   "source": [
    "begin_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "id": "cd6af1a4-ba37-4913-ad71-92b82b996bdf",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "id": "31a052e6-fffd-4065-841c-619ecc46c0f8",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(144)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "id": "d2804983-a1fa-481b-b97d-19202556bede",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 39,
   "id": "414ec9fc-2f47-4bc2-9c44-328b9e7996f2",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(144)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 40,
   "id": "5c95d8d1-ffcd-4bcc-b0f0-132eaea4078e",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 41,
   "id": "ad0feb42-042e-4a05-8392-9dae6750f221",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(144)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "id": "37a2ca13-77e7-4763-a240-d6a82d4e77b7",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 43,
   "id": "f1fb9cb8-2cea-4dbe-867a-4ac13987234e",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(144)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 44,
   "id": "4293a779-347e-4f52-9942-e70c77b2aaa5",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 45,
   "id": "947dbf17-64ba-4bd6-b4b5-64f3cfcffdbb",
   "metadata": {},
   "outputs": [],
   "source": [
    "end_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 46,
   "id": "ee167b0c-6b70-4b03-8a08-57a605ce3cf5",
   "metadata": {},
   "outputs": [],
   "source": [
    "up()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 47,
   "id": "ce94f4ac-a8b5-40e4-a423-5d2794868e06",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-40)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 48,
   "id": "80e44e69-bdd1-454c-bb67-9ddf34cf6902",
   "metadata": {},
   "outputs": [],
   "source": [
    "down()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 49,
   "id": "f3eb6e16-9bf7-42ca-a96d-96ea320f315c",
   "metadata": {},
   "outputs": [],
   "source": [
    "begin_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 50,
   "id": "4d2ce5ca-3aeb-4b36-bfc8-df2507518ee7",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 51,
   "id": "6ab514c1-356e-4097-9da5-ed0d94cbe3b1",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(38)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 52,
   "id": "48383284-f731-43a6-b3e9-ade921ddc77e",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 53,
   "id": "b07fd1f7-0daa-469f-ace8-47434e0ec132",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 54,
   "id": "982a054b-3b85-4cdf-9748-8b14d40671d9",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 55,
   "id": "f3cb032b-c488-4611-997e-e7f0014f1f4c",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 56,
   "id": "b22f44d0-0362-4b27-abe0-428221229662",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 57,
   "id": "ec7838c3-5821-4d3b-b007-39179d310010",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 58,
   "id": "ea53ade1-36e4-472d-b9ad-888c2440d722",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 59,
   "id": "ed9d4a62-bffc-45de-9cdc-b88a9f0db99b",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 60,
   "id": "3740eb34-779b-446c-a2d6-006a3111f66d",
   "metadata": {},
   "outputs": [],
   "source": [
    "end_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 61,
   "id": "a9fc0cd8-8c3f-4f64-b84f-1d789f179555",
   "metadata": {},
   "outputs": [],
   "source": [
    "up()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 62,
   "id": "59f4e5bb-e167-4ab6-9acc-2a39ba378c91",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(40)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 63,
   "id": "63f1b0bb-071e-415a-bddf-bff799d85e4c",
   "metadata": {},
   "outputs": [],
   "source": [
    "down()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 64,
   "id": "2281eef1-45dd-4c4f-bb06-2d6f8029297f",
   "metadata": {},
   "outputs": [],
   "source": [
    "begin_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 65,
   "id": "8c43a0a2-18af-466c-ad63-65d8a137f25b",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(64)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 66,
   "id": "f713c122-f7ff-4cd2-81e2-e38f3e5d0096",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 67,
   "id": "be98dcc0-c033-41b1-a543-4e2ad585e655",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 68,
   "id": "7ea958ff-125c-4810-8e0c-a359e66cadbc",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 69,
   "id": "0f6a1e26-a336-4a1f-8a7d-422dafa523d2",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 70,
   "id": "3d406d7e-3098-40c7-a72f-785d3a476691",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 71,
   "id": "fb17e778-5b7c-4423-a745-4cb76363c184",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 72,
   "id": "117990c5-1482-45f3-a44d-e124c7d9cce9",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 73,
   "id": "b6a8027c-020c-41f3-885f-a70446982f2f",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 74,
   "id": "a4813e3f-4e03-45b9-b2fc-e9582a40da4f",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 75,
   "id": "4e3b9c09-839f-4d06-8e55-2ce0df5bfdba",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 76,
   "id": "6a5e5e55-ea1a-49f5-9781-530adc5d4f8b",
   "metadata": {},
   "outputs": [],
   "source": [
    "end_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 77,
   "id": "c0378c53-2d60-4f94-a077-d8314101fcb0",
   "metadata": {},
   "outputs": [],
   "source": [
    "up()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 78,
   "id": "5caa47d5-2673-4e41-8e2f-fac130e82a32",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-40)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 79,
   "id": "b0439cbe-ed22-4be1-84e5-c600d97a5dc2",
   "metadata": {},
   "outputs": [],
   "source": [
    "down()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 80,
   "id": "7fae5797-a469-4336-906f-b9b3041318ac",
   "metadata": {},
   "outputs": [],
   "source": [
    "begin_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 81,
   "id": "7fbd6105-ff0d-465d-bf29-b11a87f5beb8",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 82,
   "id": "1d01ae79-344d-40cf-85de-55d03895a716",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 83,
   "id": "605c5b15-b073-444e-b09f-b5149e29bf49",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 84,
   "id": "aff35caf-cbf0-4525-9d17-ce2f448bd886",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 85,
   "id": "9fc78bbd-587a-42b2-a0dd-4e8bfc834df9",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 86,
   "id": "12170f93-79b8-4e6d-974f-3bbaf0f4b8f1",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(36)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 87,
   "id": "c1f315b8-a58e-484c-a1db-f23824b9a803",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 88,
   "id": "e9aaad31-d74a-4042-811c-121c2c3870bb",
   "metadata": {},
   "outputs": [],
   "source": [
    "rt(40)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 89,
   "id": "5dfb5e83-1d68-4ef4-ab70-6300ae104bc6",
   "metadata": {},
   "outputs": [],
   "source": [
    "fd(-20)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 90,
   "id": "09dc9edd-4a29-4bbf-991c-c6449b5f6337",
   "metadata": {},
   "outputs": [],
   "source": [
    "end_fill()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 91,
   "id": "53a5789f-5023-48cd-8bb7-1e4a2f686c49",
   "metadata": {},
   "outputs": [],
   "source": [
    "color(\"red\",\"red\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 92,
   "id": "f4e84a71-7578-4466-9a82-8d6a4e442701",
   "metadata": {},
   "outputs": [],
   "source": [
    "up()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 93,
   "id": "ec2d28d1-9ea6-4560-b82e-4a3f6fe676fb",
   "metadata": {},
   "outputs": [],
   "source": [
    "home()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "d5eea067-2fe5-4817-8acb-3683a63972c8",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.11.7"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
